[CakePHP] Pagination after inserting or updateing record

Posted by user198003 on Stack Overflow See other posts from Stack Overflow or by user198003
Published on 2010-06-03T11:44:26Z Indexed on 2010/12/21 5:54 UTC
Read the original article Hit count: 160

Filed under:
|
|

one more question related with cakephp...

let's say that i have 20+ records in my table. they are sorted by some criteria, ie. by title. and on a list view, i have a list of 10 records, with available pagination.

how can i achieve that when i insert new record, to be redirected to proper page, where i can see record that is just was insterted? how can i get information on which page i have to be redirected?

hope my question is enough clear for understanding...

tnx in adv!

© Stack Overflow or respective owner

Related posts about cakephp

Related posts about pagination